<?php
namespace EApiSwoole\Foundation\Bootstrap;
use EApiSwoole\Foundation\Application;
use EApiSwoole\Config\Config;
class LoadConfiguration
{
    public function bootstrap(Application $app)
    {
        $config = $app->make(Config::class)->phpParser($app->getBasePath().'/config/');
        $app->instance('config', $config);
    }
}
